﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BTKERP.Model.Inventory
{
    #region GRNMasterInfo
    /// <summary>
    /// This object represents the properties and methods of a GRNMaster.
    /// </summary>
    [Serializable]
    public class GRNMasterInfo
    {
        protected string _id;
        protected string _gRNNo = String.Empty;
        protected DateTime _gRNDate;
        protected int _supplierId;
        protected int _receivedWarehouseId;
        protected string _remark = String.Empty;
        protected decimal _receivedQuantity;
        protected decimal _receivedValue;
        protected string _status = String.Empty;
        protected bool _isConsignment;
        protected decimal _consignmentComission;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;

        public GRNMasterInfo()
        {
        }

        #region Public Properties
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string GRNNo
        {
            get { return _gRNNo; }
            set { _gRNNo = value; }
        }

        public DateTime GRNDate
        {
            get { return _gRNDate; }
            set { _gRNDate = value; }
        }

        public int SupplierId
        {
            get { return _supplierId; }
            set { _supplierId = value; }
        }

        public int ReceivedWarehouseId
        {
            get { return _receivedWarehouseId; }
            set { _receivedWarehouseId = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        public decimal ReceivedQuantity
        {
            get { return _receivedQuantity; }
            set { _receivedQuantity = value; }
        }

        public decimal ReceivedValue
        {
            get { return _receivedValue; }
            set { _receivedValue = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public bool IsConsignment
        {
            get { return _isConsignment; }
            set { _isConsignment = value; }
        }

        public decimal ConsignmentComission
        {
            get { return _consignmentComission; }
            set { _consignmentComission = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }
        #endregion

    }
    #endregion

}
